package com.syf.kit;

/***
 * app machineId和idcId
 * */
public class AppPropertiesUtils {
    private static Long macheId;

    private static Long idcId;

    private static AppPropertiesUtils INSTANCE;

    private AppPropertiesUtils(Long macheId, Long idcId) {
        this.macheId = macheId;
        this.idcId = idcId;
    }

    public static AppPropertiesUtils getInstance(Long macheId, Long idcId) {
        return INSTANCE == null ? new AppPropertiesUtils(macheId, idcId) : INSTANCE;
    }

    public static Long getMacheId() {
        return macheId;
    }

    public static Long getIdcId() {
        return idcId;
    }
}
